package top.shiyiri.community.bean;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Aunean
 * @date 2022/4/2 15:42
 */
@Data
public class Event {

    private String topic;
    private int userId;
    //实体类型（消息类型）
    private int entityType;
    //帖子id
    private int entityId;
    //帖子作者
    private int entityUserId;
    private Map<String, Object> data = new HashMap<>();

}
